OTCompareDDPAddresses
Compares two DDP address structures.C INTERFACE
Boolean OTCompareDDPAddresses (const DDPAddress* addr1, const DDPAddress* addr2);C++ INTERFACES
None. C++ applications use the C interface to this function.PARAMETERS
addr1
- A pointer to one of the DDP address structures you wish
to compare.addr2
- A pointer to the second DDP address structure you wish
to compare.DESCRIPTION
TheOTCompareDDPAddresses
function compares two DDP addresses for equality and returnstrue
if the two addresses match. It cannot compare NBP or combined DDP-NBP addresses; using these address types always returnsfalse
. This function uses the zero-matches-anything AppleTalk rule when doing the matching, which means that a value of 0 in any field results in an acceptable match.